home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / GAS_1_38.ARJ / MAKE_GAS.COM < prev    next >
Text File  |  1990-12-04  |  3KB  |  57 lines

  1. $! Set the def dir to proper place for use in batch. Works for interactive to.
  2. $flnm = f$enviroment("PROCEDURE")     ! get current procedure name
  3. $set default 'f$parse(flnm,,,"DEVICE")''f$parse(flnm,,,"DIRECTORY")'
  4. $!
  5. $!    Command file to build a GNU assembler on VMS
  6. $!
  7. $!    If you are using a version of GCC that supports global constants
  8. $!    you should remove the define="const=" from the gcc lines.
  9. $ if "''p1'" .eqs. "LINK" then goto Link
  10. $ gcc/debug/define=("VMS","const=") as.c
  11. $ gcc/debug/define=("VMS", "error=as_fatal","const=") xrealloc.c
  12. $ gcc/debug/define=("VMS", "error=as_fatal","const=") xmalloc.c
  13. $ gcc/debug/define=("VMS", "error=as_fatal","const=") hash.c
  14. $ gcc/debug/define=("VMS","const=") obstack.c
  15. $ gcc/debug/define=("VMS","const=") hex-value.c
  16. $ gcc/debug/define=("VMS","const=") atof-generic.c
  17. $ gcc/debug/define=("VMS","const=") append.c
  18. $ gcc/debug/define=("VMS","const=") messages.c
  19. $ gcc/debug/define=("VMS","const=") expr.c
  20. $ gcc/debug/define=("VMS","const=") app.c
  21. $ gcc/debug/define=("VMS","const=") frags.c
  22. $ gcc/debug/define=("VMS","const=") input-file.c
  23. $ gcc/debug/define=("VMS","const=") input-scrub.c
  24. $ gcc/debug/define=("VMS","const=") output-file.c
  25. $ gcc/debug/define=("VMS","const=") read.c
  26. $ gcc/debug/define=("VMS","const=") subsegs.c
  27. $ gcc/debug/define=("VMS","const=") symbols.c
  28. $ gcc/debug/define=("VMS","const=") write.c
  29. $ gcc/debug/define=("VMS","const=") version.c
  30. $ gcc/debug/define=("VMS","const=") flonum-const.c
  31. $ gcc/debug/define=("VMS","const=") flonum-copy.c
  32. $ gcc/debug/define=("VMS","const=") flonum-mult.c
  33. $ gcc/debug/define=("VMS","const=") strstr.c
  34. $ gcc/debug/define=("VMS","const=") bignum-copy.c
  35. $ gcc/debug/define=("VMS", "error=as_fatal","const=") vax.c
  36. $ gcc/debug/define=("VMS","const=") atof-vax.c
  37. $ write sys$output " If you are building gas to work with the G++ compiler"
  38. $ write sys$output " based upon gcc version 1.37.n or earlier, you should"
  39. $ write sys$output " edit make-gas.com and make the changes indicated in the"
  40. $ write sys$output "comments."
  41. $! For older versions of G++, we need the jsb hack, the HACK_DEC_C_STARTUP
  42. $! enables this.  Just use the compilation for vms.c that defines this instead
  43. $! of the other one.
  44. $ gcc/debug/define=("VMS", "error=as_fatal","const=") vms.c
  45. $! gcc/debug/define=("VMS", "error=as_fatal","HACK_DEC_C_STARTUP","const=") vms.c
  46. $ gcc/debug/define=("VMS","const=") vms-dbg.c
  47. $ Link:
  48. $ link/exec=gcc-as sys$input:/opt
  49. !
  50. !    Linker options file for GNU assembler
  51. !
  52. as,xrealloc,xmalloc,hash,hex-value,atof-generic,append,messages,expr,app,-
  53. frags,input-file,input-scrub,output-file,read,subsegs,symbols,write,-
  54. version,flonum-const,flonum-copy,flonum-mult,strstr,bignum-copy,-
  55. obstack,vax,atof-vax,vms,vms-dbg,-
  56. gnu_cc:[000000]gcclib/lib,sys$share:vaxcrtl/lib
  57.